package com.qiaofang.applet.service.other.repository;

import com.qiaofang.applet.service.other.domain.SignContact;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: youqing.yang
 * @Create: 2020/10/23 15:18
 * @Description:
 **/
@Repository
public interface SignContactRepository extends MongoRepository<SignContact, String> {

    List<SignContact> findAllByCorporationCodeAndPhone(String corporationCode , String phone);

    SignContact findBySignatoriesUuidAndCompanyUuid(String signatoriesUuid, String companyUuid);

}
